Feature: Asign tag
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 0m 15.237s |
Scenario: Asign a tag successfully
Before
0m 2.266s
Given
I navigate to page "<URL>"
0m 4.610s
And
I enter email "<ADMIN_EMAIL>"
0m 1.244s
And
I enter password "<ADMIN_PASSWORD>"
0m 0.757s
And
I click on the login button
0m 0.737s
And
I wait for 2 seconds
0m 2.288s
And
I click on tags option
0m 3.331s
+ Show Error
Error: Can't call click on element with selector "a[href="#/tags/"]" because element wasn't found
at implicitWait (/Users/mateoolaya/devmiso/pruebasSemCinco/MISO_Pruebas/node_modules/webdriverio/build/utils/implicitWait.js:34:19)
at async Element.elementErrorHandlerCallbackFn (/Users/mateoolaya/devmiso/pruebasSemCinco/MISO_Pruebas/node_modules/webdriverio/build/middlewares.js:20:29)
at async Element.wrapCommandFn (/Users/mateoolaya/devmiso/pruebasSemCinco/MISO_Pruebas/node_modules/@wdio/utils/build/shim.js:137:29)
at async KrakenWorld.<anonymous> (/Users/mateoolaya/devmiso/pruebasSemCinco/MISO_Pruebas/features/web/step_definitions/step.js:150:10)
And
I wait for 2 seconds
0m 0.000s
And
I click on the new tags button
0m 0.000s
And
I write "Tag para asignar" in the tag name
0m 0.000s
And
I write "Descripción de tag" in the tag description
0m 0.000s
And
I save the new tag
0m 0.000s
And
I click on posts option
0m 0.000s
And
I wait for 1 seconds
0m 0.000s
And
I click on the new post button
0m 0.000s
And
I wait for 2 seconds
0m 0.000s
And
I write "Mi nuevo post" in the post title
0m 0.000s
And
I open the post settings
0m 0.000s
When
I asign the tag "Tag para asignar" to the post
0m 0.000s
And
I wait for 1 seconds
0m 0.000s
And
I publish the new post
0m 0.000s
And
I wait for 2 seconds
0m 0.000s
And
I return to the posts list
0m 0.000s
And
I filter posts by status Published
0m 0.000s
And
I wait for 2 seconds
0m 0.000s
Then
I see that there is a post in the list with name "Tag para asignar"
0m 0.000s
After
0m 0.004s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "<URL>"
And
I enter email "<ADMIN_EMAIL>"
And
I enter password "<ADMIN_PASSWORD>"
And
I click on the login button
And
I wait for 2 seconds
And
I click on tags option
And
I wait for 2 seconds
NO IMAGE AVAILABLE
And
I click on the new tags button
NO IMAGE AVAILABLE
And
I write "Tag para asignar" in the tag name
NO IMAGE AVAILABLE
And
I write "Descripción de tag" in the tag description
NO IMAGE AVAILABLE
And
I save the new tag
NO IMAGE AVAILABLE
And
I click on posts option
NO IMAGE AVAILABLE
And
I wait for 1 seconds
NO IMAGE AVAILABLE
And
I click on the new post button
NO IMAGE AVAILABLE
And
I wait for 2 seconds
NO IMAGE AVAILABLE
And
I write "Mi nuevo post" in the post title
NO IMAGE AVAILABLE
And
I open the post settings
NO IMAGE AVAILABLE
When
I asign the tag "Tag para asignar" to the post
NO IMAGE AVAILABLE
And
I wait for 1 seconds
NO IMAGE AVAILABLE
And
I publish the new post
NO IMAGE AVAILABLE
And
I wait for 2 seconds
NO IMAGE AVAILABLE
And
I return to the posts list
NO IMAGE AVAILABLE
And
I filter posts by status Published
NO IMAGE AVAILABLE
And
I wait for 2 seconds
NO IMAGE AVAILABLE
Then
I see that there is a post in the list with name "Tag para asignar"
NO IMAGE AVAILABLE
After
NO IMAGE AVAILABLE